<%--
  Created by IntelliJ IDEA.
  User: 宋雯丽
  Date: 2024/12/29
  Time: 17:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>客户端添加</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="css/bootstrap.css" />
</head>
<body>
<div class="container-fluid">

    <jsp:include page="/admin/header.jsp"></jsp:include>
    <c:if test="${!empty fallMsg}">
        <div class="alert alert-danger">${fallMsg}</div>
    </c:if>
    <br><br>
    <form class="form-horizontal" action="${pageContext.request.contextPath }/admin/user_add" method="post">
        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">用户名</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="username" required="required" value="$u.username">
            </div>
        </div>
        <div class="form-group">
            <label for="input_email" class="col-sm-1 control-label">邮箱</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_email" name="email" required="required" value="$u.email">
            </div>
        </div>
        <div class="form-group">
            <label for="input_password" class="col-sm-1 control-label">密码</label>
            <div class="col-sm-6">
                <input type="password" class="form-control" id="input_password" name="password" required="required" value="$u.password">
            </div>
        </div>
        <div class="form-group">
            <label for="input_name" class="col-sm-1 control-label">收件人</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="name" value="$u.name">
            </div>
        </div>
        <div class="form-group">
            <label for="input_address" class="col-sm-1 control-label">电话</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_name" name="phone" value="$u.phone">
            </div>
        </div>



        <div class="form-group">
            <label for="input_address" class="col-sm-1 control-label">地址</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" id="input_address" name="address" value="$u.address">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-10">
                <button type="submit" class="btn btn-success">提交保存</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>
